WooCommerce\Facebook\Handlers\PluginRender S

Total Complexity 34
Dependencies 3
Dependents 2
Total lines 262
Lines of code 185
Logical lines of code 67
Comment lines 33
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
plugin_updated_banner()
A
49 9 34
should_show_banners()
S
60 5 12
upcoming_woo_all_products_banner()
S
56 3 20
enqueue_assets()
S
51 1 29
get_opt_out_modal_message()
S
65 1 16
get_opt_out_time()
S
69 2 7
get_opt_out_banner_class()
S
65 2 10
get_opted_out_successfully_banner_class()
S
65 2 10
add_hooks()
S
60 1 13
__construct()
S
74 1 5
reset_plugin_updated_successfully_but_master_sync_off_banner()
S
78 1 3
opt_out_of_sync_clicked()
S
72 1 5
reset_plugin_updated_successfully_banner()
S
78 1 3
reset_upcoming_version_banners()
S
78 1 3
sync_all_clicked()
S
75 1 4
is_master_sync_on()
S
75 1 4
get_opt_out_modal_buttons()
S
73 1 7